package com.fcy.teamwork.security

import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import com.fcy.teamwork.security.environment.EnvironmentSec
import kotlin.system.exitProcess

class NetChangeReceiver : BroadcastReceiver() {

    override fun onReceive(context: Context, intent: Intent) {
        if (!EnvironmentSec.proxyCheck(context)) {
            exitProcess(0)
        }
    }
}